package org.jeecg.modules.clockRecord.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 打卡记录
 * @Author: jeecg-boot
 * @Date:   2025-01-26
 * @Version: V1.0
 */
@Data
@TableName("clock_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="clock_record对象", description="打卡记录")
public class ClockRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**日期*/
	@Excel(name = "日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "日期")
    private java.util.Date date;
	/**人员guid*/
//	@Excel(name = "人员guid", width = 15)
    @ApiModelProperty(value = "人员guid")
    private java.lang.String admitGuid;
	/**所属部门*/
	@Excel(name = "所属部门", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
	@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "所属部门")
    private java.lang.String dept;
    /**所属课*/
    @Excel(name = "所属课", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "所属课")
    private java.lang.String classes;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private java.lang.String admitName;
	/**工号*/
	@Excel(name = "工号", width = 15)
    @ApiModelProperty(value = "工号")
    private java.lang.String workNumber;
	/**人像图片*/
//	@Excel(name = "人像图片", width = 15)
    @ApiModelProperty(value = "人像图片")
    private java.lang.String faceUrl;
    /**最早打卡日期*/
    @Excel(name = "最早打卡日期", width = 15)
    @ApiModelProperty(value = "最早打卡日期")
    private java.lang.String inDate;
	/**最早打卡时间*/
	@Excel(name = "最早打卡时间", width = 15)
    @ApiModelProperty(value = "最早打卡时间")
    private java.lang.String inTime;
    /**最晚打卡日期*/
    @Excel(name = "最晚打卡日期", width = 15)
    @ApiModelProperty(value = "最晚打卡日期")
    private java.lang.String outDate;
	/**最晚打卡时间*/
	@Excel(name = "最晚打卡时间", width = 15)
    @ApiModelProperty(value = "最晚打卡时间")
    private java.lang.String outTime;
	/**班次类型*/
	@Excel(name = "班次类型", width = 15, dicCode = "classes_type")
	@Dict(dicCode = "classes_type")
    @ApiModelProperty(value = "班次类型")
    private java.lang.Integer classesType;

    /**是否异常*/
    @Excel(name = "是否异常", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否异常")
    private java.lang.Integer abnormal;
    /**是否处理*/
    @Excel(name = "是否处理", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否处理")
    private java.lang.Integer solve;
    /**异常类型*/
    @Excel(name = "异常类型", width = 15, dicCode = "abnormal_type")
    @Dict(dicCode = "abnormal_type")
    @ApiModelProperty(value = "异常类型")
    private java.lang.Integer abnormalType;
    /**处理原因*/
    @Excel(name = "处理原因", width = 15, dicCode = "solve_reason")
    @Dict(dicCode = "solve_reason")
    @ApiModelProperty(value = "处理原因")
    private java.lang.Integer solveReason;

    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remarks;

    /**班次id*/
    @Excel(name = "班次", width = 15, dictTable = "classes", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "班次id")
    @Dict(dictTable = "classes", dicText = "name", dicCode = "id")
    private java.lang.String classesId;

    /**是否副课长及以上*/
    @Excel(name = "是否副课长及以上", width = 15, dicCode = "yn")
    @ApiModelProperty(value = "是否副课长及以上")
    @Dict(dicCode = "yn")
    private java.lang.Integer deputySupervisor;
}
